Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed documentation of IfcSineSpiral and IfcCosineSpiral #922

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Ibrahim5aad
Copy link

Credits to @RickBrice and @evandroAlfieri

Copy link
Contributor

@evandroAlfieri evandroAlfieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @Ibrahim5aad. I've suggested a couple of editorial changes

<!-- end of short definition -->
The cosine spiral curve is parameterized by its curve length and for a given parameter $s$, the heading angle $\theta(s)$ and the curvature $\kappa(s)$ are defined as follows. Here, $A_0$ corresponds to the *ConstantTerm* and $A_1$ to the *CosineTerm*.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the nice latex, but currently inline math no longer works like that in mathjax https://docs.mathjax.org/en/latest/input/tex/delimiters.html

I couldn't get their suggestion to override inlineMath to work either.

Could you change your inline math to the following below? I know it doesn't read as pretty in plain text.. We need double backslash because we first do a conversion from md to html btw.

Suggested change
The cosine spiral curve is parameterized by its curve length and for a given parameter $s$, the heading angle $\theta(s)$ and the curvature $\kappa(s)$ are defined as follows. Here, $A_0$ corresponds to the *ConstantTerm* and $A_1$ to the *CosineTerm*.
The cosine spiral curve is parameterized by its curve length and for a given parameter \\(s\\), the heading angle \\(\theta(s)\\) and the curvature \\(\kappa(s)\\) are defined as follows. Here, \\(A_0\\) corresponds to the *ConstantTerm* and \\(A_1\\) to the *CosineTerm*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants